package net.zjitc.dao;

import net.zjitc.domain.User;

import java.sql.SQLException;
import java.util.List;

/**
 * 2 * @Author: 洪瑶
 * 3 * @Date: 2018/10/8 18:39
 * 4
 */
public interface UserDao {
    List<User> sqlfindAll() throws SQLException;
    void sqldelete(int id) throws SQLException;
    User sqllogin(String username,String password) throws SQLException;
    Boolean sqlregister(User user) throws SQLException;
    void active(String active);
}
